home *** CD-ROM | disk | FTP | other *** search
/ New Star Software Collection / NSS_Collection.iso / 3-180 ca-clipper 52 / 1.ima / INSTALL.DAT < prev    next >
Encoding:
INSTALL Professional project  |  1993-02-15  |  22.4 KB  |  783 lines

  1. /****************************************************************/
  2. /*  INSTALL.DAT                                                 */
  3. /*                                                              */
  4. /*  Copyright (c) 1992 Computer Associates International        */
  5. /*  All Rights Reserved                                         */
  6. /*                                                              */
  7. /*  Last revision:   12/12/92                                   */
  8. /****************************************************************/
  9.  
  10. @DefineProject
  11.    @Group     = "A"
  12.    @Requires  @HardDisk
  13.    @Name      = "CA-Clipper 5.2"
  14.    @Version   = "5.2"
  15.    @OutDrive  = C
  16.    @Subdir    = "\\CLIPPER5"
  17. @EndProject
  18.  
  19. @DefineVars
  20.    @Integer @InDisk  = 0      /* change for proper input disk type */
  21.    @Integer @Fails   = 0
  22.    @Integer @Totsize = 0
  23.    @Integer @TotKB   = 0
  24.    @Integer @Asize   = 2200
  25.    @Integer @Bsize   = 1700
  26.    @Integer @Csize   =  500
  27.    @Integer @Dsize   = 2000
  28.  
  29.    @Integer @DBUsize =  650
  30.    @Integer @PEsize  =  250
  31.    @Integer @RLsize  =  450
  32.    @Integer @PLLsize =  350
  33.  
  34. /* Maxsize is the sum of A, B, C, and Dsize.  Must be updated if any of those
  35.    are changed!!! */
  36.    @Integer @Maxsize = 6400
  37.    @Dir @Bin         = "\\BIN"
  38.    @Dir @Include     = "\\INCLUDE"
  39.    @Dir @Lib         = "\\LIB"
  40.    @Dir @Pll         = "\\PLL"
  41.    @Dir @Obj         = "\\OBJ"
  42.    @Dir @Dbu         = "\\SOURCE\\DBU"
  43.    @Dir @Pe          = "\\SOURCE\\PE"
  44.    @Dir @Rl          = "\\SOURCE\\RL"
  45.    @Dir @Sample      = "\\SOURCE\\SAMPLE"
  46.    @Dir @Sys         = "\\SOURCE\\SYS"
  47.    @Dir @Ng          = "\\NG"
  48.    @Qstring @NewLine = "\n"
  49.    @Qstring @Qs1     = " System Files            "
  50.    @Qstring @Qs2     = " Utilities               "
  51.    @Qstring @Qs3     = " Sample Programs         "
  52.    @Qstring @Qs4     = " On-line Documentation   "
  53.    @Qstring @Qs10     = "Database Utility - DBU.EXE"
  54.    @Qstring @Qs11     = "Program Editor - PE.EXE"
  55.    @Qstring @Qs12     = "Report and Label Utility - RL.EXE"
  56.    @Qstring @Qs13     = "Pre-linked Library - BASE52.PLL"
  57.    @Qstring @Yes      = "=> "
  58. @EndVars
  59.  
  60. @Display
  61. @Cls
  62.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█     @Name Installation
  63.   █ Computer        █
  64.   █  Associates     █     This program will install @Name on your
  65.   █   International █     computer system and verify the integrity
  66.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█     of the distribution disks. The basic steps
  67.        ▄▄▄▄▄▄▄▄▄          in the installation procedure are as follows:
  68.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  69.                           ■ Select target drive and directory
  70.                           ■ Select files you want to install
  71.                           ■ Install selected files
  72.                           ■ Update AUTOEXEC.BAT and CONFIG.SYS
  73.  
  74.  
  75.      You will be prompted step by step through the procedure and, when
  76.      you are finished, @Name will be installed on your hard disk.
  77.      Press Esc at any time to stop the installation.
  78.  
  79.                                        @Pause
  80.  
  81. @EndDisplay
  82.  
  83. DrivePick:
  84. @GetOutDrive
  85. @Suppress A
  86. @Suppress B
  87. @LocalWindow(11,36)
  88. @Cls
  89.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█     @Name Installation
  90.   █ Computer        █
  91.   █  Associates     █     Select Target Drive:
  92.   █   International █
  93.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  94.        ▄▄▄▄▄▄▄▄▄
  95.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.    Use  and  to highlight a drive, and press ─┘ to select and continue.
  108.                             Press Esc to exit.
  109. @EndOutDrive
  110.  
  111. @GetSubdir
  112. @LocalWindow(6,56)
  113. @Cls
  114.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█     @Name Installation
  115.   █ Computer        █
  116.   █  Associates     █     Select Target Directory
  117.   █   International █
  118.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  119.        ▄▄▄▄▄▄▄▄▄
  120.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  121.  
  122.  
  123.     ┌──────────────────────────────────────────────────────────────────┐
  124.     │ WARNING!  The installation will overwrite the files in the       │
  125.     │ target directory.  If another release of CA-Clipper is installed │
  126.     │ in the target directory that is displayed, you may want to       │
  127.     │ install CA-Clipper 5.2 into a different directory to prevent     │
  128.     │ losing files.  Please note that \CLIPPER52 is not a valid        │
  129.     │ directory name, as it will be truncated to \CLIPPER5.            │
  130.     └──────────────────────────────────────────────────────────────────┘
  131.  
  132.      Type a directory name (limit 8 characters), and press ─┘ to 
  133.      continue. Press Esc to exit.  
  134.  
  135. @EndSubdir
  136.  
  137. GroupPick:
  138. @Totsize = (0)
  139. @GetGroups
  140.    @LocalWindow(7,40)
  141.    @SetGroup(A)
  142.    @SetGroup(B)
  143.    @SetGroup(C)
  144.    @SetGroup(D)
  145.    @CheckBox
  146.    @Cls
  147.                           @Name Installation
  148.  
  149.                           Select Groups to Install:
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.       ■ System Files are the basic files necessary to compile, link
  157.         and debug programs.
  158.       ■ Utilities are additional utilities to aid you in application
  159.         development.  If you choose to install the utilities, you will
  160.         be given the option to select which utilities to install.
  161.       ■ Sample Programs are the source code files for the sample
  162.         programs and replaceable system files.
  163.       ■ On-line Documentation consists of the files required to access
  164.         the on-line documentation.
  165.  
  166.     Use  and  to highlight a group, and press Space to change its status.
  167.                    Press ─┘ to continue or Esc to exit.
  168.    @Set A = "@Qs1  @Asize KB"
  169.    @Set B = "@Qs2  @Bsize KB"
  170.    @Set C = "@Qs3   @Csize KB"
  171.    @Set D = "@Qs4  @Dsize KB"
  172. @EndGroups
  173.  
  174. @If ('B' [= @Group)
  175.    @GetOption
  176.    @CheckBox
  177.    @SetOption(10)
  178.    @SetOption(11)
  179.    @SetOption(12)
  180.    @SetOption(13)
  181.    @LocalWindow(7,40)
  182.    @Cls
  183.                           @Name Installation
  184.  
  185.                         Install the Following Utilities:
  186.  
  187.  
  188.  
  189.  
  190.    @Option 10 = "Database Utility - DBU.EXE             @DBUSize KB   "
  191.    @Option 11 = "Program Editor - PE.EXE                @PESize KB   "
  192.    @Option 12 = "Report and Label Utility - RL.EXE      @RLSize KB   "
  193.    @Option 13 = "Pre-linked Library - BASE52.PLL        @PllSize KB   "
  194.  
  195. @Newline
  196.           The Utilities Group contains additional utilities that are 
  197.           available to aid you in application development.  The files 
  198.           will be installed to the following directories: 
  199.  
  200.           Executables  =>  @Subdir\BIN
  201.           DBU source   =>  @Subdir\SOURCE\DBU
  202.           RL source    =>  @Subdir\SOURCE\RL
  203.           PE source    =>  @Subdir\SOURCE\PE
  204.           PLL          =>  @Subdir\PLL
  205.  
  206.     Use  and  to highlight a group, and press Space to change its status.
  207.                    Press ─┘ to continue or Esc to exit.
  208.    @EndOption
  209. @EndIf
  210.  
  211. /* Calculate installation disk space size */
  212.  
  213. @If ('A' [= @Group)
  214.    @Totsize = (@Totsize + @Asize)
  215. @EndIf
  216.  
  217. @If ('B' [= @Group)
  218.    @If (10 [= @Option)
  219.      @Totsize = (@Totsize + @DBUsize)
  220.    @Endif
  221.    @If (11 [= @Option)
  222.      @Totsize = (@Totsize + @PEsize)
  223.    @Endif
  224.    @If (12 [= @Option)
  225.      @Totsize = (@Totsize + @RLsize)
  226.    @Endif
  227.    @If (13 [= @Option)
  228.      @Totsize = (@Totsize + @PLLsize)
  229.    @Endif
  230. @EndIf
  231.  
  232. @If ('C' [= @Group)
  233.    @Totsize = (@Totsize + @Csize)
  234. @EndIf
  235.  
  236. @If ('D' [= @Group)
  237.    @Totsize = (@Totsize + @Dsize)
  238. @EndIf
  239.  
  240. @TotKB = (@Totsize * 1024)
  241.  
  242. @If (@TotKB > @DiskFree @OutDrive)
  243.    @GetOption
  244.    @ClearOption(1)
  245.    @ClearOption(2)
  246.    @ClearOption(3)
  247.    @ClearOption(4)
  248.  
  249.    @LocalWindow(7,42)
  250.    @Cls
  251.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█     @Name Installation
  252.   █ Computer        █
  253.   █  Associates     █     Select an Action:
  254.   █   International █
  255.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  256.        ▄▄▄▄▄▄▄▄▄
  257.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  258.  
  259.                         @Option 1 = "Select a different drive"
  260.                         @Option 2 = "Select different file groups"
  261.                         @Option 3 = "Continue with installation"
  262.                         @Option 4 = "Exit to DOS"
  263.  
  264. @NewLine
  265.        ┌───────────────────────────────────────────────────────────────┐
  266.        │   WARNING! There is not enough disk space to complete this    │
  267.        │   installation.                                               │
  268.        └───────────────────────────────────────────────────────────────┘
  269.  
  270.        The installation requires @TotKB bytes and DRIVE @OutDrive has only
  271.        @DiskFree @OutDrive bytes available.
  272.  
  273.  
  274.    Use  and  to highlight an option, and press ─┘ to select and continue.
  275.                              Press Esc to exit.
  276.    @EndOption
  277.  
  278.    @If (1 [= @Option)
  279.       @Goto DrivePick
  280.    @EndIf
  281.    @If (2 [= @Option)
  282.       @Goto GroupPick
  283.    @EndIf
  284.    @If (4 [= @Option)
  285.       @Display
  286.          @Cls
  287.          @Abort
  288.       @EndDisplay
  289.    @EndIf
  290. @EndIf
  291.  
  292. @Display
  293. @Cls
  294.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█     @Name Installation
  295.   █ Computer        █
  296.   █  Associates     █     The groups denoted with '=>' will be installed 
  297.   █   International █
  298.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█  @If ('A' [= @Group)   @Yes @Qs1 @Else       @Qs1 @Endif
  299.        ▄▄▄▄▄▄▄▄▄       @If ('B' [= @Group)   @Yes @Qs2 @Else       @Qs2 @Endif
  300.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄    @If (10 [= @Option)   @Yes     @Qs10 @Else           @Qs10 @Endif
  301.                        @If (11 [= @Option)   @Yes     @Qs11 @Else           @Qs11 @Endif
  302.                        @If (12 [= @Option)   @Yes     @Qs12 @Else           @Qs12 @Endif
  303.                        @If (13 [= @Option)   @Yes     @Qs13 @Else           @Qs13 @Endif
  304.                        @If ('C' [= @Group)   @Yes @Qs3 @Else       @Qs3 @Endif
  305.                        @If ('D' [= @Group)   @Yes @Qs4 @Else       @Qs4 @Endif
  306.  
  307.                           @Totsize KB is required for the installation.
  308.  
  309.  
  310.  
  311.                                      @pause
  312. @EndDisplay
  313.  
  314. @If ('A' [= @Group) 
  315.   @Display
  316.   @Cls
  317.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█     @Name Installation
  318.   █ Computer        █    
  319.   █  Associates     █     Checking files.  Please wait ...
  320.   █   International █   
  321.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█     
  322.        ▄▄▄▄▄▄▄▄▄        
  323.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄     
  324.  
  325.  
  326.   @MkDir("@Outdrive:\\@SubDir\\@Bin")
  327.   @If (@System("product @Outdrive:\\@SubDir\\@Bin > nul")==0)
  328.   @Endif
  329.   @EndDisplay
  330.  
  331.   @If (!@Exists("@Outdrive:\\@SubDir\\@Bin\\clipper.52"))
  332.   @Display
  333.   @LocalWindow(7,46)
  334.   @Cls
  335.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█     @Name Installation
  336.   █ Computer        █    
  337.   █  Associates     █     Invalid version.  
  338.   █   International █     
  339.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  340.        ▄▄▄▄▄▄▄▄▄        
  341.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄     
  342.  
  343.   @NewLine
  344.          ┌───────────────────────────────────────────────────────────┐
  345.          │   ERROR! This release of CA-Clipper is only for use in    │
  346.          │   the U.S. and Canada.  Please contact your dealer for    │
  347.          │   the correct international release of CA-Clipper.        │
  348.          └───────────────────────────────────────────────────────────┘
  349.                  
  350.                             @Pause
  351.                                          
  352.    @EndDisplay
  353.    @Abort
  354.    @EndIf
  355. @EndIf
  356.  
  357. @If ('A' [= @Group)
  358.    @GetOption
  359.    @LocalWindow(7,38)
  360.    @Cls
  361.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█     @Name Installation
  362.   █ Computer        █
  363.   █  Associates     █     Allow changes to AUTOEXEC.BAT?
  364.   █   International █
  365.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  366.        ▄▄▄▄▄▄▄▄▄
  367.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  368.  
  369.                         @Option 101 = "  Yes  "   
  370.                         @Option 102 = "  No   "
  371.    @Newline
  372.       For CA-Clipper to work correctly, the DOS environment variables 
  373.       LIB, INCLUDE, OBJ, and PLL must be set.  It is recommended that 
  374.       you allow the install to make the necessary changes to your 
  375.       AUTOEXEC.BAT file. If you choose not to allow changes, the 
  376.       proposed changes will be written to AUTOEXEC.NEW.  
  377.  
  378.    @EndOption
  379. @EndIf
  380.  
  381. @If ('A' [= @Group)
  382.    @GetOption
  383.    @LocalWindow(7,38)
  384.    @Cls
  385.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█     @Name Installation
  386.   █ Computer        █
  387.   █  Associates     █     Allow changes to CONFIG.SYS?
  388.   █   International █
  389.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█
  390.        ▄▄▄▄▄▄▄▄▄
  391.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  392.  
  393.                         @Option 201 = "  Yes  "   
  394.                         @Option 202 = "  No   "
  395. @Newline
  396.       For CA-Clipper to work correctly, the FILES and BUFFERS settings 
  397.       must be adjusted.  It is recommended that you allow the install 
  398.       to make the necessary changes to your CONFIG.SYS file. If you 
  399.       choose not to allow changes, the proposed changes will be written
  400.       to CONFIG.NEW.  
  401.  
  402.    @EndOption
  403. @EndIf
  404.  
  405. @If (@DiskSize @InDrive     < 400000)
  406.    @Indisk = 360
  407. @ElseIf (@DiskSize @InDrive < 750000)
  408.    @Indisk = 720
  409. @ElseIf (@DiskSize @InDrive < 1300000)
  410.    @Indisk = 1200
  411. @ElseIf (@DiskSize @InDrive < 1500000)
  412.    @Indisk = 1440
  413. @Else
  414.    @Indisk = 0
  415. @EndIf
  416.  
  417. @If (@InDisk == 720)
  418.    @DefineDisk
  419.       @Label = "Installation Disk 1"
  420.  
  421.       @File README.    @Group A
  422.  
  423.       @BeginLib BIN.LIF
  424.          @File *.* @Out @Outdrive:\@Subdir\@Bin\*.* @Group A
  425.       @EndLib
  426.  
  427.       @BeginLib PLL.LIF
  428.          @File *.* @Out @Outdrive:\@Subdir\@Pll\*.*    @Option 13
  429.       @EndLib
  430.   
  431.    @EndDisk
  432.  
  433.    @DefineDisk
  434.       @Label = "Installation Disk 2"
  435.  
  436.       @BeginLib OBJ.LIF
  437.          @File *.* @Out @Outdrive:\@Subdir\@Obj\*.* @Group A
  438.       @EndLib
  439.  
  440.       @BeginLib LIB1.LIF
  441.          @File *.* @Out @Outdrive:\@Subdir\@Lib\*.* @Group A
  442.       @EndLib
  443.  
  444.       @BeginLib LIB2.LIF
  445.          @File *.* @Out @Outdrive:\@Subdir\@Lib\*.* @Group A
  446.       @EndLib
  447.  
  448.       @BeginLib INCLUDE.LIF
  449.          @File *.* @Out @Outdrive:\@Subdir\@Include\*.* @Group A
  450.       @EndLib
  451.  
  452.    @EndDisk
  453.  
  454.    @DefineDisk
  455.       @Label = "Installation Disk 3"
  456.  
  457.       @BeginLib DBU.LIF
  458.          @File *.EXE @Out @Outdrive:\@Subdir\@Bin\*.*  @Option 10
  459.          @File *.HLP @Out @Outdrive:\@Subdir\@Bin\*.*  @Option 10
  460.          @File *.HLP @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  461.          @File *.PRG @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  462.          @File *.RMK @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  463.          @File *.LNK @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  464.       @EndLib
  465.  
  466.       @BeginLib SYS.LIF
  467.          @File *.* @Out @Outdrive:\@Subdir\@Sys\*.* @Group C
  468.       @EndLib
  469.  
  470.       @BeginLib NG1.LIF
  471.          @File *.* @Out @Outdrive:\@NG\*.* @Group D
  472.       @EndLib
  473.  
  474.    @EndDisk
  475.  
  476.    @DefineDisk
  477.       @Label = "Installation Disk 4"
  478.  
  479.       @BeginLib SAMPLE.LIF
  480.          @File *.* @Out @Outdrive:\@Subdir\@Sample\*.* @Group C
  481.       @EndLib
  482.  
  483.       @BeginLib RL.LIF
  484.          @File *.EXE @Out @Outdrive:\@Subdir\@Bin\*.*  @Option 12
  485.          @File *.PRG @Out @Outdrive:\@Subdir\@Rl\*.*   @Option 12
  486.          @File *.RMK @Out @Outdrive:\@Subdir\@Rl\*.*   @Option 12
  487.       @EndLib
  488.  
  489.       @BeginLib PE.LIF
  490.         @File *.EXE @Out @Outdrive:\@Subdir\@Bin\*.*   @Option 11
  491.         @File *.PRG @Out @Outdrive:\@Subdir\@Pe\*.*    @Option 11
  492.         @File *.RMK @Out @Outdrive:\@Subdir\@Pe\*.*    @Option 11
  493.       @EndLib
  494.  
  495.       @BeginLib NG2.LIF
  496.          @File *.* @Out @Outdrive:\@NG\*.* @Group D
  497.       @EndLib
  498.  
  499.  
  500.    @EndDisk
  501.  
  502. @ElseIf (@InDisk == 1200)
  503.    @DefineDisk
  504.       @Label = "Installation Disk 1"
  505.  
  506.       @File README.    @Group A
  507.  
  508.       @BeginLib BIN.LIF
  509.          @File *.* @Out @Outdrive:\@Subdir\@Bin\*.* @Group A
  510.       @EndLib
  511.  
  512.       @BeginLib OBJ.LIF
  513.          @File *.* @Out @Outdrive:\@Subdir\@Obj\*.* @Group A
  514.       @EndLib
  515.  
  516.       @BeginLib LIB1.LIF
  517.          @File *.* @Out @Outdrive:\@Subdir\@Lib\*.* @Group A
  518.       @EndLib
  519.  
  520.       @BeginLib LIB2.LIF
  521.          @File *.* @Out @Outdrive:\@Subdir\@Lib\*.* @Group A
  522.       @EndLib
  523.  
  524.       @BeginLib INCLUDE.LIF
  525.          @File *.* @Out @Outdrive:\@Subdir\@Include\*.* @Group A
  526.       @EndLib
  527.      
  528.    @EndDisk
  529.  
  530.    @DefineDisk
  531.       @Label = "Installation Disk 2"
  532.  
  533.       @BeginLib DBU.LIF
  534.          @File *.EXE @Out @Outdrive:\@Subdir\@Bin\*.*  @Option 10
  535.          @File *.HLP @Out @Outdrive:\@Subdir\@Bin\*.*  @Option 10
  536.          @File *.HLP @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  537.          @File *.PRG @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  538.          @File *.RMK @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  539.          @File *.LNK @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  540.       @EndLib
  541.  
  542.       @BeginLib PE.LIF
  543.         @File *.EXE @Out @Outdrive:\@Subdir\@Bin\*.*   @Option 11
  544.         @File *.PRG @Out @Outdrive:\@Subdir\@Pe\*.*    @Option 11
  545.         @File *.RMK @Out @Outdrive:\@Subdir\@Pe\*.*    @Option 11
  546.       @EndLib
  547.  
  548.       @BeginLib RL.LIF
  549.          @File *.EXE @Out @Outdrive:\@Subdir\@Bin\*.*  @Option 12
  550.          @File *.PRG @Out @Outdrive:\@Subdir\@Rl\*.*   @Option 12
  551.          @File *.RMK @Out @Outdrive:\@Subdir\@Rl\*.*   @Option 12
  552.       @EndLib
  553.  
  554.       @BeginLib PLL.LIF
  555.          @File *.* @Out @Outdrive:\@Subdir\@Pll\*.*    @Option 13
  556.       @EndLib
  557.  
  558.       @BeginLib SYS.LIF
  559.          @File *.* @Out @Outdrive:\@Subdir\@Sys\*.* @Group C
  560.       @EndLib
  561.  
  562.       @BeginLib SAMPLE.LIF
  563.          @File *.* @Out @Outdrive:\@Subdir\@Sample\*.* @Group C
  564.       @EndLib
  565.  
  566.    @EndDisk
  567.  
  568.    @DefineDisk
  569.       @Label = "Installation Disk 3"
  570.  
  571.       @BeginLib NG1.LIF
  572.          @File *.* @Out @Outdrive:\@NG\*.* @Group D
  573.       @EndLib
  574.  
  575.       @BeginLib NG2.LIF
  576.          @File *.* @Out @Outdrive:\@NG\*.* @Group D
  577.       @EndLib
  578.    @EndDisk
  579.  
  580. @ElseIf (@InDisk == 1440)
  581.    @DefineDisk
  582.       @Label = "Installation Disk 1"
  583.  
  584.       @File README.    @Group A
  585.  
  586.       @BeginLib BIN.LIF
  587.          @File *.* @Out @Outdrive:\@Subdir\@Bin\*.* @Group A
  588.       @EndLib
  589.  
  590.       @BeginLib OBJ.LIF
  591.          @File *.* @Out @Outdrive:\@Subdir\@Obj\*.* @Group A
  592.       @EndLib
  593.  
  594.       @BeginLib LIB1.LIF
  595.          @File *.* @Out @Outdrive:\@Subdir\@Lib\*.* @Group A
  596.       @EndLib
  597.  
  598.       @BeginLib LIB2.LIF
  599.          @File *.* @Out @Outdrive:\@Subdir\@Lib\*.* @Group A
  600.       @EndLib
  601.  
  602.       @BeginLib INCLUDE.LIF
  603.          @File *.* @Out @Outdrive:\@Subdir\@Include\*.* @Group A
  604.       @EndLib
  605.  
  606.       @BeginLib RL.LIF
  607.          @File *.EXE @Out @Outdrive:\@Subdir\@Bin\*.*  @Option 12
  608.          @File *.PRG @Out @Outdrive:\@Subdir\@Rl\*.*   @Option 12
  609.          @File *.RMK @Out @Outdrive:\@Subdir\@Rl\*.*   @Option 12
  610.       @EndLib
  611.  
  612.    @EndDisk
  613.  
  614.    @DefineDisk
  615.       @Label = "Installation Disk 2"
  616.  
  617.       @BeginLib NG1.LIF
  618.          @File *.* @Out @Outdrive:\@NG\*.* @Group D
  619.       @EndLib
  620.  
  621.       @BeginLib NG2.LIF
  622.          @File *.* @Out @Outdrive:\@NG\*.* @Group D
  623.       @EndLib
  624.  
  625.       @BeginLib DBU.LIF
  626.          @File *.EXE @Out @Outdrive:\@Subdir\@Bin\*.*  @Option 10
  627.          @File *.HLP @Out @Outdrive:\@Subdir\@Bin\*.*  @Option 10
  628.          @File *.HLP @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  629.          @File *.PRG @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  630.          @File *.RMK @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  631.          @File *.LNK @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  632.       @EndLib
  633.  
  634.       @BeginLib PE.LIF
  635.         @File *.EXE @Out @Outdrive:\@Subdir\@Bin\*.*   @Option 11
  636.         @File *.PRG @Out @Outdrive:\@Subdir\@Pe\*.*    @Option 11
  637.         @File *.RMK @Out @Outdrive:\@Subdir\@Pe\*.*    @Option 11
  638.       @EndLib
  639.  
  640.       @BeginLib PLL.LIF
  641.          @File *.* @Out @Outdrive:\@Subdir\@Pll\*.*    @Option 13
  642.       @EndLib
  643.  
  644.       @BeginLib SYS.LIF
  645.          @File *.* @Out @Outdrive:\@Subdir\@Sys\*.* @Group C
  646.       @EndLib
  647.  
  648.       @BeginLib SAMPLE.LIF
  649.          @File *.* @Out @Outdrive:\@Subdir\@Sample\*.* @Group C
  650.       @EndLib
  651.  
  652.    @EndDisk
  653.  
  654. @ElseIf (@InDisk == 0)                 /* hard disk */
  655.  
  656.    @DefineDisk
  657.       @Label = "Installation Disk 1"
  658.  
  659.       @File README.    @Group A
  660.  
  661.       @BeginLib BIN.LIF
  662.          @File *.* @Out @Outdrive:\@Subdir\@Bin\*.* @Group A
  663.       @EndLib
  664.  
  665.       @BeginLib OBJ.LIF
  666.          @File *.* @Out @Outdrive:\@Subdir\@Obj\*.* @Group A
  667.       @EndLib
  668.  
  669.       @BeginLib LIB1.LIF
  670.          @File *.* @Out @Outdrive:\@Subdir\@Lib\*.* @Group A
  671.       @EndLib
  672.  
  673.       @BeginLib LIB2.LIF
  674.          @File *.* @Out @Outdrive:\@Subdir\@Lib\*.* @Group A
  675.       @EndLib
  676.  
  677.       @BeginLib INCLUDE.LIF
  678.          @File *.* @Out @Outdrive:\@Subdir\@Include\*.* @Group A
  679.       @EndLib
  680.  
  681.       @BeginLib DBU.LIF
  682.          @File *.EXE @Out @Outdrive:\@Subdir\@Bin\*.*  @Option 10
  683.          @File *.HLP @Out @Outdrive:\@Subdir\@Bin\*.*  @Option 10
  684.          @File *.HLP @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  685.          @File *.PRG @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  686.          @File *.RMK @Out @Outdrive:\@Subdir\@Dbu\*.*  @Option 10
  687.       @EndLib
  688.  
  689.       @BeginLib PE.LIF
  690.         @File *.EXE @Out @Outdrive:\@Subdir\@Bin\*.*   @Option 11
  691.         @File *.PRG @Out @Outdrive:\@Subdir\@Pe\*.*    @Option 11
  692.         @File *.RMK @Out @Outdrive:\@Subdir\@Pe\*.*    @Option 11
  693.       @EndLib
  694.  
  695.       @BeginLib RL.LIF
  696.          @File *.EXE @Out @Outdrive:\@Subdir\@Bin\*.*  @Option 12
  697.          @File *.PRG @Out @Outdrive:\@Subdir\@Rl\*.*   @Option 12
  698.          @File *.RMK @Out @Outdrive:\@Subdir\@Rl\*.*   @Option 12
  699.       @EndLib
  700.  
  701.       @BeginLib PLL.LIF
  702.          @File *.* @Out @Outdrive:\@Subdir\@Pll\*.*    @Option 13
  703.       @EndLib
  704.  
  705.       @BeginLib NG1.LIF
  706.          @File *.* @Out @Outdrive:\@NG\*.* @Group D
  707.       @EndLib
  708.  
  709.       @BeginLib NG2.LIF
  710.          @File *.* @Out @Outdrive:\@NG\*.* @Group D
  711.       @EndLib
  712.  
  713.       @BeginLib SAMPLE.LIF
  714.          @File *.* @Out @Outdrive:\@Subdir\@Sample\*.* @Group C
  715.       @EndLib
  716.  
  717.       @BeginLib SYS.LIF
  718.          @File *.* @Out @Outdrive:\@Subdir\@Sys\*.* @Group C
  719.       @EndLib
  720.  
  721.    @EndDisk
  722.  
  723. @Else
  724.  
  725.    ERROR:  Invalid input disk size.  Install terminated.
  726.    @Pause
  727.    @Abort
  728.  
  729. @Endif
  730.  
  731. @SetAutoexec
  732.    @If ('A' [= @Group)
  733.       @If (101 [= @Option)
  734.          @Overwrite
  735.       @Else
  736.          @DiskProto
  737.       @Endif
  738.  
  739.       @Verbatim "PATH=@OutDrive:\\@SubDir\\@Bin;@OutDrive:\\@Ng;%path%"
  740.       @SetPrepend("INCLUDE","@OutDrive:\\@SubDir\\@Include")
  741.       @SetPrepend("LIB","@OutDrive:\\@SubDir\\@Lib")
  742.       @SetPrepend("OBJ","@OutDrive:\\@SubDir\\@Obj")
  743.       @SetPrepend("PLL","@OutDrive:\\@SubDir\\@Pll")
  744.    @Endif
  745. @EndAutoexec
  746.  
  747. @SetConfig
  748.    @If ('A' [= @Group)
  749.       @If (201 [= @Option)
  750.          @Overwrite
  751.       @Else
  752.          @DiskProto
  753.       @Endif
  754.  
  755.       @Files   = 25
  756.       @Buffers = 15
  757.    @Endif
  758. @EndConfig
  759.  
  760. @Finish
  761.    @Delete("@Outdrive:\\@Subdir\\@Bin\\clipper.52")
  762.    @ChDrive(@OutDrive)
  763.    @ChDir("@SubDir")
  764.  
  765.   @Cls
  766.   █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█     @Name Installation
  767.   █ Computer        █
  768.   █  Associates     █     CA-Clipper 5.2 has been successfully installed
  769.   █   International █     on your computer. Before using the product,
  770.   █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█     view the README file located in the @SubDir
  771.        ▄▄▄▄▄▄▄▄▄          directory using your word processor or the DOS
  772.     ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄       TYPE command. This file contains the latest
  773.                           product information.
  774.  
  775.  
  776.  
  777. @Pause
  778. @EndFinish
  779.  
  780. /*---------------------* EOF INSTALL.DAT *--------------------*/
  781.  
  782.  
  783.